<%@ page language="java" pageEncoding="utf-8"
	contentType="text/html; charset=utf-8"%>
<%@ include file="../include/taglib.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>订单信息</title>
		<%@ include file="../include/jsCss.jsp"%>
	</head>

	<body>
		 订单信息
		 <hr/>
		 <table width="70%" border="1">
		 	<tr>
		 		<td bgcolor="grey">订单编号</td>
		 		<td>${orderDto.orderId}</td>
		 		<td bgcolor="grey">联系方式</td>
		 		<td>${orderDto.contact }</td>
		 	</tr>
		 	<tr>
		 		<td bgcolor="grey">姓名</td>
		 		<td>${orderDto.name }</td>
		 		<td bgcolor="grey">就餐时间</td>
		 		<td>${orderDto.repastDate }</td>
		 	</tr>
		 	<tr>
		 		<td bgcolor="grey">人数</td>
		 		<td>${orderDto.peopleNum }</td>
		 		<td bgcolor="grey">状态</td>
		 		<td>${orderDto.status }</td>
		 	</tr>
		 </table>
		包厢信息
		<hr/>
		<table width="70%" border="1">
			<tr>
				<td>名称</td> 
				<td>容纳人数</td>
				<td>最低消费</td>
				<td>备注</td>
			</tr> 
			<s:if test="boxDto != null">
				<tr>
					<td>${boxDto.name }</td>
					<td>${boxDto.peopleNumber }</td>
					<td>${boxDto.lowConsume }</td>
					<td>${boxDto.remark }</td>
				</tr>
			</s:if>
			<s:else>
				无包厢
			</s:else>
		</table>
		订单详细信息
		<hr/>
		<table width="70%" border="1">
			<tr>
				<td>名称</td>
				<td>原价</td>
				<td>优惠价</td>
				<td>折扣</td>
				<td>数量</td> 
				<td>类型</td>
				<td>状态</td>
				<td>小计</td>
			</tr>
			 <s:iterator value="orderDetailList">
				 <tr>
					<td> ${name}</td>
					<td>${price}</td>
					<td></td>
					<td>${discont }</td>
					<td>${quantity}</td> 
					<td>${detailType }</td>
					<td>${status }</td>
					<td></td>
				</tr>
			 </s:iterator>
			 
		</table>	  
	</body>
</html>